package pref.junx.flybird.activity.note;


import pref.junx.flybird.api.HttpMethosds;
import pref.junx.flybird.entity.Reg_user;
import pref.junx.flybird.entity.Register_result;
import pref.junx.flybird.tools.RxSchedulers;
import rx.Observable;

/**
 * Created by 半生瓜 on 2017/8/7.
 */

public class noteModel implements noteConteact.Model  {
    @Override
    public Observable<Register_result> getregisterModel(Reg_user reg_user) {
        return HttpMethosds.getInstance().retrofitServicel
                .regsiter(reg_user)
                .compose(RxSchedulers.io_main());
    }
}
